home *** CD-ROM | disk | FTP | other *** search
- // This script checks for the presence of a executing copy
- // of STKSTUFR (STalker STuffr). If one is found, it sends a message
- // to STKSTUFR that the STalker3 session has finished.
-
- function main()
- int stuffr_id;
-
- stuffr_id = appl_find("STKSTUFR");
-
- if stuffr_id == -1 then
- puts("STalker STuffr is not running.\r\n");
- else
- appl_write(stuffr_id,2323,0,0,0,0,0);
- endif
- // 2323 is our magic word that the script is ending.
-
- endfunction
-